pinctrl-bcm2835: Only request the interrupts listed in the DTB
authorPhil Elwell <phil@raspberrypi.org>
Thu, 26 Feb 2015 09:58:22 +0000 (09:58 +0000)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:44:48 +0000 (15:44 +0100)
commiteee6e13e6c5c445c81493433fcd062289c929131
treec63cf6e8828baf69adce4d8b414231c9d03ab2a0
parentc2ecec0b70a1a3111a95b954c690be8103014b23
pinctrl-bcm2835: Only request the interrupts listed in the DTB

Although the GPIO controller can generate three interrupts (four counting
the common one), the device tree files currently only specify two. In the
absence of the third, simply don't register that interrupt (as opposed to
registering 0), which has the effect of making it impossible to generate
interrupts for GPIOs 46-53 which, since they share pins with the SD card
interface, is unlikely to be a problem.
drivers/pinctrl/bcm/pinctrl-bcm2835.c